#ifndef FILESEARCH_H
#define FILESEARCH_H

#include <QThread>
#include <QtCore>
#include <QCoreApplication>
#include <qtconcurrentmap.h>
#include <ResultCollector.h>

/**
	@author vishwajeet <vishwajeet@qcomputingproject.com>
*/
class FileSearch : public QThread
{
Q_OBJECT
public:
    FileSearch(QStringList location,ResultCollector *result,QObject *parent = 0);

    ~FileSearch();

    void distribute();	
    void search(QStringList location);
    void search(QString location);
	void search();	     
    void run();

private:
	QStringList location; 
	ResultCollector *result;	
};

#endif
